fix(deps): update module github.com/hashicorp/copywrite to v0.25.3#434
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update module github.com/hashicorp/copywrite to v0.25.3#434renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
|
|
2588524 to
ba1c308
Compare
d873af9 to
293dc78
Compare
111a0d2 to
cab5744
Compare
fa7629a to
9cb739f
Compare
7a1e542 to
11d66dc
Compare
1f0ff7a to
c2c9622
Compare
724817e to
b074fc0
Compare
ffdd5d4 to
ac52e16
Compare
ceba4fe to
35dc86a
Compare
9e15ebc to
7505f5d
Compare
7505f5d to
7f92b7b
Compare
7f92b7b to
25eb040
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.24.2→v0.25.3Release Notes
hashicorp/copywrite (github.com/hashicorp/copywrite)
v0.25.3Compare Source
v0.25.3
Bug Fixes
LICENSE no longer updated on every run (#224)
anyFileUpdatedwas unconditionally set totruein non-plan mode dueto a buggy condition, causing the LICENSE file's copyright year to
be bumped on every successful run — even when all source file headers were
already correct. This triggered spurious pre-commit hook failures with
"files were modified by this hook" when nothing should have changed.
addlicense.Runnow correctly reports whether it actually wrote any files,and the LICENSE update is gated on that signal.
Ignored directories are now skipped in a single step (#225)
Patterns in
header_ignore(e.g..venv/**,vendor/**) were previouslyonly checked against files — the walk still descended into every directory
unconditionally, visiting each file before discarding it. For directories
with thousands of files this caused significant slowdowns. The walk now
checks each directory against ignore patterns and returns
filepath.SkipDirimmediately, pruning the entire subtree regardless of how many files are
inside.
Full Changelog
v0.25.2Compare Source
What's Changed
New Features
ignore_year1config option (#213): Added a newproject.ignore_year1boolean flag in.copywrite.hcl. When set totrue, the tool skips updating the start year in existing copyright headers, preserving historically accurate start years (e.g.2015) even when they differ fromcopyright_yearin config. End-year logic is unaffected — files modified after their copyright end year still get the end year bumped to current year. New files with no copyright header are also unaffected and always receive the config year as the start year.Bug Fixes
ignore_year2references from config, CLI, init template, and README.Documentation
ignore_year1behaviour for both source file headers and LICENSE files.ignore_year1as a commented-out option.v0.25.1Compare Source
Fixed
Details
This release fixes two critical bugs introduced in v0.25.0 (#191):
buildRepositoryCachenow correctly formats git output with__CW_YEAR__=prefix, allowing the parser to properly identify years vs filenamesUsers running v0.25.0 who noticed copyright year updates weren't working should upgrade to this version.
v0.25.0Compare Source
Improvements
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.